<!-- 英雄列表页 -->
<template>
  <div class="hero_list">
    <currency-list :title="title" :slide="slide" :path="path" />
  </div>
</template>

<script lang="ts">
import { defineComponent, reactive, toRefs } from "vue";
import CurrencyList from '../../components/CurrencyList.vue';

export default defineComponent ({
  name: 'HeroList',
  components: { CurrencyList },
  setup () {
    const content = reactive({
      title: '英雄列表',
      slide: [
        { name: '_id', label: '_id' },
        { name: 'name', label: '名字' },
      ],
      path: 'heros'
    })

    const refContent = toRefs(content);

    return {
      ...refContent
    }
  }
})
</script>

<style>

</style>